package com.fstec.ks.master.service;

import java.util.List;

import com.fstec.ks.master.dao.cond.RoomRoundCond;
import com.fstec.ks.master.dao.cond.ServerRoundCond;
import com.fstec.ks.master.vo.ExamRoundVO;
import com.fstec.ks.master.vo.ExamServerVO;
import com.fstec.ks.master.vo.RoomRoundVO;
import com.fstec.ks.master.vo.ServerRoundVO;

/**
 * 考试数据服务
 * @Title ExamDataService.java
 * @Package com.fstec.ks.master.service
 * @Description 
 * Copyright: Copyright (c) 2023
 * Company:广东峰上科技有限公司
 * 
 * @author <a href="mailto:xieqj@fstec.com">谢启进</a>
 * @date 2023年10月11日 上午10:14:52
 * @version V1.0
 */
public interface ExamDataService {
	/**
	 * 获取所有考试场次数据
	 * @return
	 * @auth <a href="mailto:xieqj@fstec.com">谢启进</a>
	 * @date 2023年10月11日 上午10:16:15
	 */
	List<ExamRoundVO> getAllExamRounds();

	List<ExamServerVO> getAllExamServers();

	List<ServerRoundVO> findServerRounds(int pageIdx, int pageSize, ServerRoundCond cond);

	List<RoomRoundVO> findRoomServerRounds(int pageIdx, int pageSize, RoomRoundCond cond);

	int saveExamServer(ExamServerVO examServer);
	
	int saveServerRound(ServerRoundVO serverRound);
	
	int saveRoomRound(RoomRoundVO roomRound);

	void addExamServer(ExamServerVO examServer, List<ExamRoundVO> roundVos, List<ServerRoundVO> serverRounds, List<RoomRoundVO> roomRounds);

	int removeExamServer(String serverId);
}
